package com.chenjj.etl.datatrans.converter;

import java.io.Serializable;
import java.util.List;

/**
 * Flag文件信息
 */
public class FlagInfo  implements Serializable {
    private long rowCount;// 总行数
    private long fileSize; //文件大小
    private long rowLength; //每一行的长度

    private List<DataMetaInfo> dataMetaInfos;//字段元数据信息

    public long getRowCount() {
        return rowCount;
    }

    public void setRowCount(long rowCount) {
        this.rowCount = rowCount;
    }

    public long getFileSize() {
        return fileSize;
    }

    public void setFileSize(long fileSize) {
        this.fileSize = fileSize;
    }

    public List<DataMetaInfo> getDataMetaInfos() {
        return dataMetaInfos;
    }

    public void setDataMetaInfos(List<DataMetaInfo> dataMetaInfos) {
        this.dataMetaInfos = dataMetaInfos;
    }

    public long getRowLength() {
        return rowLength;
    }

    public void setRowLength(long rowLength) {
        this.rowLength = rowLength;
    }

    @Override
    public String toString() {
        return "FlagInfo{" +
                "rowCount=" + rowCount +
                ", fileSize=" + fileSize +
                ", rowLength=" + rowLength +
                ", dataMetaInfos=" + dataMetaInfos +
                '}';
    }
}
